package cn.machen.www.fashion.services;

import cn.machen.www.fashion.dao.CategoryDao;
import cn.machen.www.fashion.pojo.Category;

import java.util.List;

public class CategoryService  {
    private CategoryDao categoryDao = new CategoryDao();

    /*查询所有目录分类*/
    public List<Category> findAll(){
      return categoryDao.findAll();
    }
}
